import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/utils/methods' // 全局函数
import '@/icons' // SVG图标
import '@/styles/index.css' // 全局样式
import '@/styles/app.css' // 主题颜色
import '@/components'
import '@/library/components'
import '@/permission'
import '@/utils/directive'

// 打字机效果
import VueTypedJs from 'vue-typed-js'
Vue.use(VueTypedJs)
// 复制
import VueClipboard from 'vue-clipboard2'
Vue.use(VueClipboard)

// 代码编辑器
import CodeEditor from 'bin-code-editor';
// import 'bin-code-editor/lib/style/index.css';
Vue.use(CodeEditor);

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)

import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'

Vue.use(VXETable)

Vue.config.productionTip = false;

new Vue({
  render: h => h(App),
  router,
  store,
}).$mount('#app')
